package com.ftf.tp.blog.domain.article.dos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 点赞消息实体
 *
 * @author tanghao
 * @date 2021/11/28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SupportDO implements Serializable {

    private Long id;
    /**
     * 目标id
     */
    private Long targetId;

    /**
     * 目标类型
     */
    private String targetType;

    /**
     * 取消或支持
     */
    private Integer supportType;

    /**
     * 点赞时间
     */
    private Date supportTime;

    /**
     * 用户id
     */
    private Long userId;

}
